package com.iflytek.day09;

/*
    学生测试类
 */
public class _02_StudentDemo {
  public static void main(String[] args) {
    // 创建对象
    _02_Student s = new _02_Student();

    // 使用对象
    System.out.println(s.name + "," + s.age);

    s.name = "林青霞";
    s.age = 30;

    System.out.println(s.name + "," + s.age);

    s.study();
    s.doHomework();
  }
}